package com.shakev.coupon.es.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @ClassName Commodity
 * @Description TODO
 * @Author 李伟松
 * @CreateDate 2019-05-07 下午 9:35
 * @UpdateDate 2019-05-07 下午 9:35
 * @Version 1.0
 */
@Data
@Document(indexName = "commodity")
public class Commodity implements Serializable {

    @Id
    private String skuId;

    private String name;

    private String category;

    private Integer price;

    private String brand;

    private Integer stock;

}